package com.lzhsite.technology.designPattern.adapter.ObjectAdapter;

public class Adapter implements Job
{
    private Person person;

    public Adapter(Person person)
    {
        this.person = person;
    }

    public void speakJapanese()
    {
        person.speakJapanese();
    }

    public void speakEnglish()
    {
        person.speakEnglish();
    }

    public void speakFrench()
    {

    }
}
